package com.zzy.commonutils.ordervo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author KAZU
 * @Date 2023/1/24 11:57
 * @Version 1.0
 */
@SuppressWarnings({"all"})
@ApiModel(value="UcenterMember对象", description="会员表")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Data
public class UcenterMemberOrder implements Serializable {
		
		private static final long serialVersionUID = 1L;
		
		@ApiModelProperty(value = "会员id")
		@TableId(value = "id", type = IdType.ID_WORKER_STR)
		private String id;
		
		@ApiModelProperty(value = "微信openid")
		private String openid;
		
		@ApiModelProperty(value = "手机号")
		private String mobile;
		
		@ApiModelProperty(value = "密码")
		private String password;
		
		@ApiModelProperty(value = "昵称")
		private String nickname;
		
		@ApiModelProperty(value = "性别 1 女，2 男")
		private Integer sex;
		
		@ApiModelProperty(value = "年龄")
		private Integer age;
		
		@ApiModelProperty(value = "用户头像")
		private String avatar;
		
		@ApiModelProperty(value = "用户签名")
		private String sign;
		
		@ApiModelProperty(value = "是否禁用 1（true）已禁用，  0（false）未禁用")
		private Boolean isDisabled;
		
		@ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
		@TableLogic
		private Boolean isDeleted;
		
		@ApiModelProperty(value = "创建时间")
		@TableField(fill = FieldFill.INSERT)
		private Date gmtCreate;
		
		@ApiModelProperty(value = "更新时间")
		@TableField(fill = FieldFill.INSERT_UPDATE)
		private Date gmtModified;
		
	
}
